package com.hns.can.base.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 字段描述实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_AUTHORITY_FIELD_VALUE")
public class SysAuthrityFieldValueEntity extends BaseEntity{
	// Fields
	@Id
	@Column(name = "ID")
	private String id;

	@Column(name = "ROLE_ID")
	private String roleId;

	@Column(name = "FIELD_VALUE_ID")
	private String fieldValueId;

	@Column(name = "CREATE_TS")
	private Date createTs;

	@Transient
	private String tableName;

	@Transient
	private String fieldName;

	@Transient
	private String fieldCodeValue;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getFieldValueId() {
		return fieldValueId;
	}

	public void setFieldValueId(String fieldValueId) {
		this.fieldValueId = fieldValueId;
	}

	public Date getCreateTs() {
		return createTs;
	}

	public void setCreateTs(Date createTs) {
		this.createTs = createTs;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getFieldCodeValue() {
		return fieldCodeValue;
	}

	public void setFieldCodeValue(String fieldCodeValue) {
		this.fieldCodeValue = fieldCodeValue;
	}

}